'''
Sample protocals
TYPES SUPPORT: string, byte, short,int 

'''

_Point = (
    ('x',    'short',   1),
    ('y',    'short',   1),
)

_Pet = (
    ('id',    'short',   1),
    ('skills','short',   10),
)

CGLogin=(
    ('account',     'string',   32),
    ('timestamp',   'int',    1),
    ('status',      'byte',   1),
    ('authkey',     'string',   64),
)

CGMove=(
    ('path',        _Point,      30),
)

GCPetList=(
    ('petlist',     _Pet,       10),
)
